gesturestylus: Only add histroy element if translation succeeded
authorTimm Bäder <mail@baedert.org>
Fri, 25 Dec 2020 09:07:43 +0000 (10:07 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 3 Jan 2021 10:01:28 +0000 (11:01 +0100)
commit71efa96ef29d5aab902631f9f31a5db5924e2e48
treee1662a3ee25c99548bce74e2a59cca8bc9d2e4dd
parente336fe2bf8905bcc020fcdf6eae3ca4d754280ef
gesturestylus: Only add histroy element if translation succeeded

Instead of always doing it and then undoing it if the translation does
not succeed.
gtk/gtkgesturestylus.c